package com.retoc.graduationtravel.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @TableName spot_img
 */
@TableName(value = "spot_img")
@Data
public class SpotImg implements Serializable {
    /**
     * id
     */
    @TableId
    private Long id;

    /**
     * 酒店/景点id
     */
    private Long spotId;

    /**
     * 图片地址
     */
    private String img;

    /**
     * 图片介绍
     */
    private String alt;

    /**
     * 酒店/景点细节id
     */
    private Long detailId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}